package darknet.application.filesharing.impl.net;

import darknet.core.spec.net.Message;
import darknet.core.spec.net.ProtocolHandler;
import darknet.core.spec.net.StreamableMessage;
import java.io.IOException;

/**
 * Implementation of protocol handler for file sharing application.
 * @author yoyo
 */
public class FileSharingProtocolHandler implements ProtocolHandler {

    // TODO Write this class.

    @Override
    public boolean canHandle(Message toHand) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void handle(StreamableMessage toHand) throws IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
